export default {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "editBtn": true,
    "delBtn": true,
    "align": "left",
    "addBtn": true,
    "height": "auto",
    "labelWidth": 130,
    "highlightCurrentRow": true,
    "columnMovable": true,
    "menu": true,
    "dialogHeight": 500,
    "dialogClickModal": false,
    "dialogEscape": false,
    "headerMenu": true,
    "autoLoad": true,
    "column": [
        {
            "label": "客户端编号",
            "prop": "clientCode",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 250,
            "span": 12,
            "rules": [
                {
                    "required": true,
                    "message": "请输入客户端编号",
                    "trigger": "blur"
                },
                {
                    "max": 32,
                    "message": "长度小于32个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like",
            "search": true            	
        },
        {
            "label": "回调地址",
            "prop": "webServerRedirectUri",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 250,
            "span": 12,
            "rules": [
                {
                    "max": 256,
                    "message": "长度小于256个字符",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "like"
        },
        {
            "label": "客户端密钥",
            "prop": "clientSecret",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
//            "rules": [
//                {
//                    "max": 256,
//                    "message": "长度小于256个字符",
//                    "trigger": "blur"
//                }
//            ],
            "searchOperator": "like"
        },
        {
            "label": "授权方式",
            "prop": "authorizedGrantTypes",
            "type": "select",
            "multiple": true,
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
            "dicUrl": "/datatable/getDict/auth.client.authorizedGrantType",
//            "rules": [
//                {
//                    "max": 256,
//                    "message": "长度小于256个字符",
//                    "trigger": "blur"
//                }
//            ],
            "searchOperator": "like"
        },
        {
            "label": "作用域",
            "prop": "scopes",
            "type": "select",
            "multiple": true,
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
            "dicUrl": "/datatable/getDict/auth.client.scope",
//            "rules": [
//                {
//                    "max": 256,
//                    "message": "长度小于256个字符",
//                    "trigger": "blur"
//                }
//            ],
            "searchOperator": "like"
        },
        {
            "label": "授权资源",
            "prop": "resourceIds",
            "type": "select",
            "multiple": true,
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
            "dicUrl": "/datatable/getDict/auth.client.resource",
//            "rules": [
//                {
//                    "max": 256,
//                    "message": "长度小于256个字符",
//                    "trigger": "blur"
//                }
//            ],
            "searchOperator": "like"
        },
        {
            "label": "权限",
            "prop": "authorities",
            "type": "select",
            "multiple": true,
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
            "dicUrl": "/datatable/getDict/auth.client.authority",
//            "rules": [
//                {
//                    "max": 256,
//                    "message": "长度小于256个字符",
//                    "trigger": "blur"
//                }
//            ],
            "searchOperator": "like"
        },
        {
            "label": "自动授权作用域",
            "prop": "autoApproveScopes",
            "type": "select",
            "multiple": true,
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "span": 24,
            "dicUrl": "/datatable/getDict/auth.client.scope",
//            "rules": [
//                {
//                    "max": 255,
//                    "message": "长度小于255个字符",
//                    "trigger": "blur"
//                }
//            ],
            "searchOperator": "like"
        },
        {
            "label": "令牌有效期(s)",
            "prop": "accessTokenValidity",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 120,
            "span": 12,
            "align": "right",
            "rules": [],
            "searchOperator": "="
        },
        {
            "label": "更新令牌有效期(s)",
            "prop": "refreshTokenValidity",
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 160,
            "span": 12,
            "align": "right",
            "rules": [],
            "searchOperator": "="
        },
        {
            "label": "id",
            "prop": "id",
            "key": true,
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 80,
            "align": "right",
            "showColumn": true,
            "rules": [
                {
                    "required": true,
                    "message": "请输入id",
                    "trigger": "blur"
                }
            ],
            "searchOperator": "="
        },
        {
            "label": "附加数据",
            "prop": "additionalInformation",
            "hide": true,
            "editDisabled": true,
            "addDisplay": false,
            "editDisplay": false,
            "type": "input",
            "sortable": true,
            "overHidden": true,
            "width": 200,
            "showColumn": true,
            "rules": [],
            "searchOperator": "like"
        }
    ]
}